package cn.wolfcode.edu.mapper;

import cn.wolfcode.edu.domain.ClassGrade;
import cn.wolfcode.edu.query.QueryObject;

import java.util.List;

public interface ClassGradeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ClassGrade record);

    ClassGrade selectByPrimaryKey(Long id);

    List<ClassGrade> selectAll();

    int updateByPrimaryKey(ClassGrade record);

    List<ClassGrade> queryForList(QueryObject qo);

    int queryForRows(QueryObject qo);
    //查询所有班级的名字和编号
    List<ClassGrade> selectClassGradeNameAndId();

    Long getIdByName(String name);

    List<ClassGrade> listAllBaseClz();

    List<ClassGrade> listAllGodClz();
}